package com.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.entity.Point;
import com.common.domain.vo.ExchangeLogVo;
import com.common.domain.vo.PointVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PointMapper extends BaseMapper<Point> {

    Long getUserPointById(Long userId);

    List<PointVo> getUserPointDetail(Long userId);

    List<PointVo> allPointList(@Param("userName") String userName,@Param("status") String status);
}
